:root {
  --primary-color: #31c27c;
}
body {
  margin: 0;
  background: #f5f5f5;
  font-family: Microsoft Yahei;
  font-size: 14px;
  min-width: 1000px;
}
main{
    width: 100%;
    margin: auto;
    padding-bottom: 20px;
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.05);
}
a {
  text-decoration: none;
  color: #000;
}
header {
  height: 90px;
  background: white;
  display: flex;
  align-items: center;
}
.header-inner {
  width: 1200px;
  margin: auto;
}
.tag-title{
    font-size: 40px;
    text-align: center;
    letter-spacing: 0.2em;
    
}
.tag-list {
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  font-size: 20px;
}
.tag-all{
  position: relative;
  font-size: 14px;
  left: -340px;
  top:-10px;
  padding: 5px 20px;
  border: 1px solid #8f8e8e;
  transition: all 0.3s;
}
.tag-all:hover{
  color: var(--primary-color);
  transform: scale(1.04);
}
.tag-all-img {
  position: relative;
  top:3px;
  padding-right: 5px;
}
.tag-item {
  display: inline-block;
  padding: 0 8px;
  margin-right: 24px;
  line-height: 26px;
  color: #000;
  text-decoration: none;
}
.tag-active {
  color: var(--primary-color);
}
.tag-item:not(.tag-active):hover {
  color: var(--primary-color);
}
.nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 45px -20px;
  margin-bottom: 45px;
  padding-left: 200px;
  padding-right: 200px;
}
.playlist2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(400px,1fr));
  grid-template-rows: repeat(3, minmax(100px,1fr));
  justify-content: space-evenly;
  gap: 45px 20px;
  margin-bottom: 45px;
  padding-left: 200px;
  padding-right: 200px; 
}
.playlist3 {
  display: grid;
  grid-template-columns: repeat(5, minmax(230px,1fr));
  grid-template-rows: repeat(2, 1fr);
  justify-content: space-evenly;
  gap: 45px 0px;
  margin-bottom: 45px;
  padding-left: 200px;
  padding-right: 200px;
}
.album div{
  margin-top: 5px;
}
.album2{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0px 20px;
    border-bottom: 1px solid #e0e0e0;
    align-items: start;
}

.album2 .cover-wrap2 {
    grid-row: 1 / 3;
    grid-column: 1/2;
}

.album2 > div:nth-child(2) {
    font-size: 16px;
    grid-row: 1;
    grid-column: 2;
    align-self: end;

}

.album2 > div:nth-child(3) {
    font-size: 16px;
    grid-row: 2;
    grid-column: 2;
    align-self: start;
}

.album2 > div:nth-child(4) {
    font-size: 16px;
    grid-row: span 2;
    grid-column: 4;
    justify-self: center;
    align-self: center;
}

.album2:nth-child(7),
.album2:nth-child(8),
.album2:nth-child(9) {
    border-bottom: none;
}
.cover-wrap {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 90%;
  margin-bottom: 15px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cover-wrap2 {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cover-img {
  width: 100%;
  transition: all 0.75s;
}
.cover-img2 {
  width: 100%;
  transition: all 0.75s;
}
.cover-img3 {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: all 0.75s;
}
.cover-mask {
  position: absolute;
  width: 100%;
  left: 0;
  top: -5px;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0;
  transition: all 0.5s;
}
.cover-mask2 {
  position: absolute;
  width: 100%;
  left: 0;
  top: -5px;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0;
  transition: all 0.5s;
}
.cover-play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -35px;
  margin-top: -35px;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.5s;
}
.cover-wrap:hover .cover-mask {
  opacity: 0.2;
}
.cover-wrap2:hover .cover-mask2 {
  opacity: 0.2;
}
.cover-wrap:hover .cover-play {
  opacity: 1;
  transform: scale(1);
}
.cover-wrap2:hover .cover-play {
  opacity: 1;
  transform: scale(0.4);
}
.cover-wrap:hover .cover-img {
  transform: scale(1.07);
}
.cover-wrap2:hover .cover-img2 {
  transform: scale(1.07);
}
.cover-wrap:hover .cover-img3 {
  transform: scale(1.07);
}
.album-title {
  grid-column: auto;
  line-height: 1.6;
  width: 180px; /* 设置固定宽度 */
  display: inline-block;
  
  /* 关键属性组合 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-title:hover {
  color: var(--primary-color);
}
.album-author {
  grid-column: 2/4;
  grid-row: 2;
  color: #999;
  line-height: 1.6;
  width: 200px; /* 根据需要设置具体宽度 */
  display: inline-block;
  
  /* 关键属性组合 */
  white-space: nowrap; /* 文本不换行 */
  overflow: hidden;    /* 超出部分隐藏 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/* 为新歌首发区域的标题和作者信息添加样式 */
.album2 .album-title,
.album2 .album-author {
  width: 150px; /* 根据布局调整宽度 */
  display: inline-block; /* 确保元素作为内联块级元素显示 */
  
  /* 关键属性组合 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 为MV区域的标题和作者信息添加样式 */
.album .album-title,
.album .album-author {
  width: 180px; /* 根据布局调整宽度 */
  display: inline-block;
  
  /* 关键属性组合 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-author:hover {
  color: var(--primary-color);
}
.album-time {
  color: #999;
}
.album-time img {
  margin-right: 5px;
}
.page {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-item {
  display: inline-block;
  color: #a2a2a2;
  line-height: 50px;
  padding: 0 20px;
  margin: 10px;
  font-size: 16px;
}
.page-current, .page-item:not(.page-more):hover {
  background: var(--primary-color);
  color: white;
}
footer {
  margin-top: 60px;
  background: #333;
  height: 200px;
}